package com.meisupic.copyright.domain.query;

import com.meisupic.copyright.common.AuthorizeRuleEnum;
import com.meisupic.copyright.common.WorksProcessDetailEnum;
import com.meisupic.copyright.common.WorksProcessEnum;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @author lanjian
 * @version V1.0
 * @Description: TODO
 * @date 2018/2/10 17:34
 */
@Data
public class WorksQuery implements Serializable {

  private static final long serialVersionUID = 5959976457599915581L;

  private String worksNameOrDciCode;

  private String categoryId;

  private String createor;

  private AuthorizeRuleEnum authorizeRule;

  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date startDate;

  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date endDate;

  private WorksProcessDetailEnum worksProcessDetail;

  private WorksProcessEnum worksProcess;

  private Long creatorId;

  private Boolean isAdmin;

}
